	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_send_iface
_nl80211_send_iface:                    ## @nl80211_send_iface
	.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	%r9, %r15
	movq	%r8, %r12
	movq	%rdi, %r13
	movq	16(%r9), %rbx
	movq	_NL80211_CMD_NEW_INTERFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_nl80211hdr_put
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:
	movq	_NL80211_ATTR_IFINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r13, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_16
## %bb.4:
	movq	_NL80211_ATTR_IFNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%r13, %rdi
	callq	_nla_put_string
	testq	%rax, %rax
	jne	LBB0_16
LBB0_5:
	movq	_NL80211_ATTR_WIPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r13, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_16
## %bb.6:
	movq	_NL80211_ATTR_IFTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%r13, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_16
## %bb.7:
	movq	_NL80211_ATTR_WDEV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_wdev_id
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_nla_put_u64
	testq	%rax, %rax
	jne	LBB0_16
## %bb.8:
	movq	_NL80211_ATTR_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r15, %rdi
	callq	_wdev_address
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_nla_put
	testq	%rax, %rax
	jne	LBB0_16
## %bb.9:
	movq	_NL80211_ATTR_GENERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_cfg80211_rdev_list_generation@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	4(%r12), %edx
	movq	%r13, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_10
LBB0_16:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_genlmsg_cancel
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_1:
	movl	$-1, %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	8(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.11:
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_rdev_get_channel
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_nl80211_send_chandef
	testq	%rax, %rax
	jne	LBB0_16
LBB0_13:
	movq	8(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.14:
	movq	_NL80211_ATTR_SSID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r15), %ecx
	movq	%r13, %rdi
	callq	_nla_put
	testq	%rax, %rax
	jne	LBB0_16
LBB0_15:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_genlmsg_end
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_CMD_NEW_INTERFACE,4,2  ## @NL80211_CMD_NEW_INTERFACE
	.comm	_NL80211_ATTR_IFINDEX,4,2       ## @NL80211_ATTR_IFINDEX
	.comm	_NL80211_ATTR_IFNAME,4,2        ## @NL80211_ATTR_IFNAME
	.comm	_NL80211_ATTR_WIPHY,4,2         ## @NL80211_ATTR_WIPHY
	.comm	_NL80211_ATTR_IFTYPE,4,2        ## @NL80211_ATTR_IFTYPE
	.comm	_NL80211_ATTR_WDEV,4,2          ## @NL80211_ATTR_WDEV
	.comm	_NL80211_ATTR_MAC,4,2           ## @NL80211_ATTR_MAC
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.comm	_NL80211_ATTR_GENERATION,4,2    ## @NL80211_ATTR_GENERATION
	.comm	_cfg80211_rdev_list_generation,4,2 ## @cfg80211_rdev_list_generation
	.comm	_NL80211_ATTR_SSID,4,2          ## @NL80211_ATTR_SSID
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_nl80211_send_iface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_send_iface
_nl80211_send_iface:                    ; @nl80211_send_iface
	.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
	mov	x21, x5
	mov	x22, x4
	mov	x19, x0
	ldr	x23, [x5, #16]
Lloh0:
	adrp	x8, _NL80211_CMD_NEW_INTERFACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_CMD_NEW_INTERFACE@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	bl	_nl80211hdr_put
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	cbz	x23, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _NL80211_ATTR_IFINDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_ATTR_IFINDEX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_9
; %bb.3:
Lloh6:
	adrp	x8, _NL80211_ATTR_IFNAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_ATTR_IFNAME@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x23, #4]
	mov	x0, x19
	bl	_nla_put_string
	cbnz	x0, LBB0_9
LBB0_4:
Lloh9:
	adrp	x8, _NL80211_ATTR_WIPHY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_9
; %bb.5:
Lloh12:
	adrp	x8, _NL80211_ATTR_IFTYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NL80211_ATTR_IFTYPE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_9
; %bb.6:
Lloh15:
	adrp	x8, _NL80211_ATTR_WDEV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NL80211_ATTR_WDEV@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_wdev_id
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_nla_put_u64
	cbnz	x0, LBB0_9
; %bb.7:
Lloh18:
	adrp	x8, _NL80211_ATTR_MAC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NL80211_ATTR_MAC@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x8]
Lloh21:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh23:
	ldr	x24, [x8]
	mov	x0, x21
	bl	_wdev_address
	mov	x3, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_nla_put
	cbnz	x0, LBB0_9
; %bb.8:
Lloh24:
	adrp	x8, _NL80211_ATTR_GENERATION@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NL80211_ATTR_GENERATION@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w8, [x22, #4]
Lloh27:
	adrp	x9, _cfg80211_rdev_list_generation@GOTPAGE
Lloh28:
	ldr	x9, [x9, _cfg80211_rdev_list_generation@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	eor	w2, w8, w9, lsl #2
	mov	x0, x19
	bl	_nla_put_u32
	cbz	x0, LBB0_12
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_genlmsg_cancel
Lloh30:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_10:
	mov	w0, #-1
LBB0_11:
	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
LBB0_12:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.13:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_rdev_get_channel
	cbnz	w0, LBB0_15
; %bb.14:
	add	x1, sp, #8
	mov	x0, x19
	bl	_nl80211_send_chandef
	cbnz	x0, LBB0_9
LBB0_15:
	ldr	x2, [x21, #8]
	cbz	x2, LBB0_17
; %bb.16:
Lloh33:
	adrp	x8, _NL80211_ATTR_SSID@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NL80211_ATTR_SSID@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w3, [x21, #4]
	mov	x0, x19
	bl	_nla_put
	cbnz	x0, LBB0_9
LBB0_17:
	mov	x0, x19
	mov	x1, x20
	bl	_genlmsg_end
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_CMD_NEW_INTERFACE,4,2  ; @NL80211_CMD_NEW_INTERFACE
	.comm	_NL80211_ATTR_IFINDEX,4,2       ; @NL80211_ATTR_IFINDEX
	.comm	_NL80211_ATTR_IFNAME,4,2        ; @NL80211_ATTR_IFNAME
	.comm	_NL80211_ATTR_WIPHY,4,2         ; @NL80211_ATTR_WIPHY
	.comm	_NL80211_ATTR_IFTYPE,4,2        ; @NL80211_ATTR_IFTYPE
	.comm	_NL80211_ATTR_WDEV,4,2          ; @NL80211_ATTR_WDEV
	.comm	_NL80211_ATTR_MAC,4,2           ; @NL80211_ATTR_MAC
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.comm	_NL80211_ATTR_GENERATION,4,2    ; @NL80211_ATTR_GENERATION
	.comm	_cfg80211_rdev_list_generation,4,2 ; @cfg80211_rdev_list_generation
	.comm	_NL80211_ATTR_SSID,4,2          ; @NL80211_ATTR_SSID
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_nl80211_send_iface
.subsections_via_symbols
