	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostap_setup_dev               ## -- Begin function hostap_setup_dev
	.p2align	4, 0x90
_hostap_setup_dev:                      ## @hostap_setup_dev
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_ether_setup
	movq	_PRISM2_MIN_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_PRISM2_MAX_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_IFF_TX_SKB_SHARING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	24(%rbx), %eax
	movl	%eax, 24(%rbx)
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movq	%r12, %rcx
	addq	$8, %rcx
	movq	%rcx, (%r12)
	movq	%r12, 56(%rbx)
LBB0_2:
	movq	_hostap_iw_handler_def@GOTPCREL(%rip), %rcx
	movq	%rcx, 48(%rbx)
	movq	_TX_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rbx)
	cmpl	$128, %r15d
	je	LBB0_5
## %bb.3:
	movq	_IFF_NO_QUEUE@GOTPCREL(%rip), %rcx
	cmpl	$129, %r15d
	jne	LBB0_6
## %bb.4:
	orl	(%rcx), %eax
	movl	%eax, 24(%rbx)
	movq	_hostap_mgmt_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_ARPHRD_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_hostap_80211_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	jmp	LBB0_8
LBB0_5:
	movq	_hostap_master_ops@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	orl	(%rcx), %eax
	movl	%eax, 24(%rbx)
	movq	_hostap_netdev_ops@GOTPCREL(%rip), %rax
LBB0_7:
	movq	%rax, 16(%rbx)
LBB0_8:
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	_prism2_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRISM2_MIN_MTU,4,2             ## @PRISM2_MIN_MTU
	.comm	_PRISM2_MAX_MTU,4,2             ## @PRISM2_MAX_MTU
	.comm	_IFF_TX_SKB_SHARING,4,2         ## @IFF_TX_SKB_SHARING
	.comm	_hostap_iw_handler_def,4,2      ## @hostap_iw_handler_def
	.comm	_TX_TIMEOUT,4,2                 ## @TX_TIMEOUT
	.comm	_IFF_NO_QUEUE,4,2               ## @IFF_NO_QUEUE
	.comm	_hostap_mgmt_netdev_ops,4,2     ## @hostap_mgmt_netdev_ops
	.comm	_ARPHRD_IEEE80211,4,2           ## @ARPHRD_IEEE80211
	.comm	_hostap_80211_ops,4,2           ## @hostap_80211_ops
	.comm	_hostap_master_ops,4,2          ## @hostap_master_ops
	.comm	_hostap_netdev_ops,4,2          ## @hostap_netdev_ops
	.comm	_prism2_ethtool_ops,4,2         ## @prism2_ethtool_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostap_setup_dev               ; -- Begin function hostap_setup_dev
	.p2align	2
_hostap_setup_dev:                      ; @hostap_setup_dev
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x22, x0
	mov	x0, x19
	bl	_ether_setup
Lloh0:
	adrp	x8, _PRISM2_MIN_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PRISM2_MIN_MTU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PRISM2_MAX_MTU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PRISM2_MAX_MTU@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #64]
Lloh6:
	adrp	x8, _IFF_TX_SKB_SHARING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFF_TX_SKB_SHARING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	bic	w8, w9, w8
	str	w8, [x19, #24]
	cbz	x22, LBB0_2
; %bb.1:
	add	x9, x22, #8
	str	x9, [x22]
	str	x22, [x19, #56]
LBB0_2:
Lloh9:
	adrp	x9, _hostap_iw_handler_def@GOTPAGE
Lloh10:
	ldr	x9, [x9, _hostap_iw_handler_def@GOTPAGEOFF]
	str	x9, [x19, #48]
Lloh11:
	adrp	x9, _TX_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TX_TIMEOUT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	str	w9, [x19, #44]
	cmp	w21, #128
	b.eq	LBB0_5
; %bb.3:
Lloh14:
	adrp	x9, _IFF_NO_QUEUE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IFF_NO_QUEUE@GOTPAGEOFF]
	cmp	w21, #129
	b.ne	LBB0_6
; %bb.4:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #24]
Lloh16:
	adrp	x8, _hostap_mgmt_netdev_ops@GOTPAGE
Lloh17:
	ldr	x8, [x8, _hostap_mgmt_netdev_ops@GOTPAGEOFF]
Lloh18:
	adrp	x9, _ARPHRD_IEEE80211@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ARPHRD_IEEE80211@GOTPAGEOFF]
	str	x8, [x19, #16]
Lloh20:
	ldr	w8, [x9]
	str	w8, [x19, #40]
Lloh21:
	adrp	x8, _hostap_80211_ops@GOTPAGE
Lloh22:
	ldr	x8, [x8, _hostap_80211_ops@GOTPAGEOFF]
	str	x8, [x19, #32]
	b	LBB0_8
LBB0_5:
Lloh23:
	adrp	x8, _hostap_master_ops@GOTPAGE
Lloh24:
	ldr	x8, [x8, _hostap_master_ops@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #24]
Lloh25:
	adrp	x8, _hostap_netdev_ops@GOTPAGE
Lloh26:
	ldr	x8, [x8, _hostap_netdev_ops@GOTPAGEOFF]
LBB0_7:
	str	x8, [x19, #16]
LBB0_8:
	ldr	w8, [x20]
	str	w8, [x19, #8]
Lloh27:
	adrp	x8, _prism2_ethtool_ops@GOTPAGE
Lloh28:
	ldr	x8, [x8, _prism2_ethtool_ops@GOTPAGEOFF]
	str	x8, [x19]
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_PRISM2_MIN_MTU,4,2             ; @PRISM2_MIN_MTU
	.comm	_PRISM2_MAX_MTU,4,2             ; @PRISM2_MAX_MTU
	.comm	_IFF_TX_SKB_SHARING,4,2         ; @IFF_TX_SKB_SHARING
	.comm	_hostap_iw_handler_def,4,2      ; @hostap_iw_handler_def
	.comm	_TX_TIMEOUT,4,2                 ; @TX_TIMEOUT
	.comm	_IFF_NO_QUEUE,4,2               ; @IFF_NO_QUEUE
	.comm	_hostap_mgmt_netdev_ops,4,2     ; @hostap_mgmt_netdev_ops
	.comm	_ARPHRD_IEEE80211,4,2           ; @ARPHRD_IEEE80211
	.comm	_hostap_80211_ops,4,2           ; @hostap_80211_ops
	.comm	_hostap_master_ops,4,2          ; @hostap_master_ops
	.comm	_hostap_netdev_ops,4,2          ; @hostap_netdev_ops
	.comm	_prism2_ethtool_ops,4,2         ; @prism2_ethtool_ops
.subsections_via_symbols
