	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sme_update_ft_ies              ## -- Begin function sme_update_ft_ies
	.p2align	4, 0x90
_sme_update_ft_ies:                     ## @sme_update_ft_ies
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.3:
	movq	%rcx, %r14
	movl	16(%rbx), %edi
	movq	_MOBILITY_DOMAIN_ID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_os_memcpy
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_wpa_hexdump
	movq	8(%rbx), %rdi
	callq	_os_free
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_os_memdup
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r14, (%rbx)
	jmp	LBB0_6
LBB0_2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_wpa_dbg
	movq	8(%rbx), %rdi
	callq	_os_free
	movq	$0, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SME: Remove mobility domain"

	.comm	_MOBILITY_DOMAIN_ID_LEN,4,2     ## @MOBILITY_DOMAIN_ID_LEN
L_.str.1:                               ## @.str.1
	.asciz	"SME: FT IEs"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sme_update_ft_ies              ; -- Begin function sme_update_ft_ies
	.p2align	2
_sme_update_ft_ies:                     ; @sme_update_ft_ies
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	cbz	x1, LBB0_4
; %bb.1:
	mov	x21, x2
	cbz	x2, LBB0_4
; %bb.2:
	mov	x20, x3
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x8, _MOBILITY_DOMAIN_ID_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MOBILITY_DOMAIN_ID_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_os_memcpy
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_wpa_hexdump
	ldr	x0, [x19, #8]
	bl	_os_free
	mov	x0, x21
	mov	x1, x20
	bl	_os_memdup
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.3:
	mov	w0, #0
	str	x20, [x19]
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
	ldr	x0, [x19, #8]
	bl	_os_free
	mov	w0, #0
	str	xzr, [x19, #24]
	stp	xzr, xzr, [x19]
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SME: Remove mobility domain"

	.comm	_MOBILITY_DOMAIN_ID_LEN,4,2     ; @MOBILITY_DOMAIN_ID_LEN
l_.str.1:                               ; @.str.1
	.asciz	"SME: FT IEs"

.subsections_via_symbols
