	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_update_ft_ies
_nl80211_update_ft_ies:                 ## @nl80211_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rsi), %rax
	movq	(%rax), %r14
	movq	(%r14), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movq	(%rsi), %rcx
	movq	_NL80211_ATTR_MDID@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_5
## %bb.4:
	movq	8(%rax), %r15
	movq	_NL80211_ATTR_IE@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rcx,%rax,4), %edi
	callq	_is_valid_ie_attr
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_get_u16
	movl	%eax, -48(%rbp)
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_data
	movl	%eax, -52(%rbp)
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_len
	movl	%eax, -56(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	leaq	-56(%rbp), %rdx
	callq	_rdev_update_ft_ies
	jmp	LBB0_7
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NL80211_ATTR_MDID,8,3          ## @NL80211_ATTR_MDID
	.comm	_NL80211_ATTR_IE,8,3            ## @NL80211_ATTR_IE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nl80211_update_ft_ies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_update_ft_ies
_nl80211_update_ft_ies:                 ; @nl80211_update_ft_ies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x1, #8]
	ldr	x19, [x8]
	ldr	x9, [x19]
	ldr	w9, [x9]
	cbz	w9, LBB0_4
; %bb.1:
	mov	x20, x1
	ldr	x9, [x1]
Lloh0:
	adrp	x23, _NL80211_ATTR_MDID@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NL80211_ATTR_MDID@GOTPAGEOFF]
	ldr	x10, [x23]
	ldr	w10, [x9, x10, lsl #2]
	cbz	w10, LBB0_5
; %bb.2:
	ldr	x21, [x8, #8]
Lloh2:
	adrp	x22, _NL80211_ATTR_IE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NL80211_ATTR_IE@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w0, [x9, x8, lsl #2]
	bl	_is_valid_ie_attr
	cbz	w0, LBB0_5
; %bb.3:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	x8, [x20]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_get_u16
	str	w0, [sp, #8]
	ldr	x8, [x20]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_data
	str	w0, [sp, #4]
	ldr	x8, [x20]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_len
	str	w0, [sp]
	mov	x2, sp
	mov	x0, x19
	mov	x1, x21
	bl	_rdev_update_ft_ies
	b	LBB0_7
LBB0_4:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NL80211_ATTR_MDID,8,3          ; @NL80211_ATTR_MDID
	.comm	_NL80211_ATTR_IE,8,3            ; @NL80211_ATTR_IE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nl80211_update_ft_ies
.subsections_via_symbols
