	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mac80211_hwsim_get_radio
_mac80211_hwsim_get_radio:              ## @mac80211_hwsim_get_radio
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %eax
	movq	%r8, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -40(%rbp)
	movq	_HWSIM_CMD_GET_RADIO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	movq	_hwsim_genl_family@GOTPCREL(%rip), %r8
	movl	%edx, %esi
	movl	%ecx, %edx
	movq	%r8, %rcx
	movl	%eax, %r8d
	callq	_genlmsg_put
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_genl_dump_check_consistent
LBB0_4:
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.6:
	movq	%rax, -40(%rbp)
LBB0_7:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_REGULATORY_STRICT_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	andl	(%rax), %ecx
	setne	%dl
	movl	%edx, -64(%rbp)
	movl	4(%rax), %r12d
	movq	_NL80211_IFTYPE_P2P_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%r12d, %eax
	setne	%cl
	movl	%ecx, -60(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -44(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -48(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -52(%rbp)
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	callq	_wiphy_name
	movl	%eax, -56(%rbp)
	movl	(%rbx), %esi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	callq	_append_radio_msg
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_genlmsg_end
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_9:
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_genlmsg_cancel
LBB0_10:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_hwsim_genl_family,4,2          ## @hwsim_genl_family
	.comm	_HWSIM_CMD_GET_RADIO,4,2        ## @HWSIM_CMD_GET_RADIO
	.comm	_REGULATORY_STRICT_REG,4,2      ## @REGULATORY_STRICT_REG
	.comm	_NL80211_IFTYPE_P2P_DEVICE,4,2  ## @NL80211_IFTYPE_P2P_DEVICE
	.no_dead_strip	_mac80211_hwsim_get_radio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mac80211_hwsim_get_radio
_mac80211_hwsim_get_radio:              ; @mac80211_hwsim_get_radio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x8, x5
	mov	x22, x4
	mov	x9, x3
	mov	x21, x1
	mov	x19, x0
	str	xzr, [sp, #40]
Lloh0:
	adrp	x10, _HWSIM_CMD_GET_RADIO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HWSIM_CMD_GET_RADIO@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x10]
Lloh3:
	adrp	x3, _hwsim_genl_family@GOTPAGE
Lloh4:
	ldr	x3, [x3, _hwsim_genl_family@GOTPAGEOFF]
	mov	x1, x2
	mov	x2, x9
	mov	x4, x8
	bl	_genlmsg_put
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	cbz	x22, LBB0_3
; %bb.2:
	mov	x0, x22
	mov	x1, x20
	bl	_genl_dump_check_consistent
LBB0_3:
	ldr	x8, [x21, #32]
	ldr	x9, [x8]
	cbz	x9, LBB0_6
; %bb.4:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
; %bb.5:
	str	x8, [sp, #40]
LBB0_6:
	ldr	x8, [x21, #8]
Lloh5:
	adrp	x9, _REGULATORY_STRICT_REG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REGULATORY_STRICT_REG@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh7:
	adrp	x10, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x10]
	ldr	d8, [x8]
Lloh10:
	ldr	s0, [x9]
	str	q0, [sp]                        ; 16-byte Folded Spill
	bl	_BIT
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	mov.s	v0[1], w0
	and.8b	v0, v0, v8
	cmeq.2s	v0, v0, #0
	movi.2s	v1, #1
	bic.8b	v0, v1, v0
	str	d0, [sp, #16]
	ldr	w8, [x21, #24]
	str	w8, [sp, #36]
	ldr	d0, [x21, #16]
	stur	d0, [sp, #28]
	ldr	x8, [x21, #8]
	ldr	x0, [x8]
	bl	_wiphy_name
	str	w0, [sp, #24]
	ldr	w1, [x21]
	add	x2, sp, #16
	mov	x0, x19
	bl	_append_radio_msg
	tbnz	w0, #31, LBB0_9
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_genlmsg_end
	mov	w21, #0
	b	LBB0_10
LBB0_8:
Lloh11:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_10
LBB0_9:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_genlmsg_cancel
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_hwsim_genl_family,4,2          ; @hwsim_genl_family
	.comm	_HWSIM_CMD_GET_RADIO,4,2        ; @HWSIM_CMD_GET_RADIO
	.comm	_REGULATORY_STRICT_REG,4,2      ; @REGULATORY_STRICT_REG
	.comm	_NL80211_IFTYPE_P2P_DEVICE,4,2  ; @NL80211_IFTYPE_P2P_DEVICE
	.no_dead_strip	_mac80211_hwsim_get_radio
.subsections_via_symbols
