	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_phy_setup_phy_cond         ## -- Begin function rtw_phy_setup_phy_cond
	.p2align	4, 0x90
_rtw_phy_setup_phy_cond:                ## @rtw_phy_setup_phy_cond
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %r12d
	movl	4(%rdi), %r14d
	testl	%r14d, %r14d
	movl	$15, %r13d
	cmovel	%r13d, %r14d
	callq	_rtw_hci_type
	cmpl	$129, %eax
	jne	LBB0_1
## %bb.2:
	movq	_INTF_SDIO@GOTPCREL(%rip), %rcx
	cmpl	$128, %eax
	je	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_INTF_PCIE@GOTPCREL(%rip), %rcx
	cmpl	$128, %eax
	jne	LBB0_5
LBB0_4:
	movq	_INTF_USB@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %eax
	testl	%r15d, %r15d
	cmovnel	%r15d, %r13d
	movl	%r14d, 8(%rbx)
	movl	%r13d, 12(%rbx)
	movl	$4, 16(%rbx)
	movl	%eax, 20(%rbx)
	movl	%r12d, 24(%rbx)
	movl	$0, 28(%rbx)
	movq	_RTW_DBG_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INTF_USB,4,2                   ## @INTF_USB
	.comm	_INTF_SDIO,4,2                  ## @INTF_SDIO
	.comm	_INTF_PCIE,4,2                  ## @INTF_PCIE
	.comm	_RTW_DBG_PHY,4,2                ## @RTW_DBG_PHY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"phy cond=0x%08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_phy_setup_phy_cond         ; -- Begin function rtw_phy_setup_phy_cond
	.p2align	2
_rtw_phy_setup_phy_cond:                ; @rtw_phy_setup_phy_cond
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	mov	w22, #15
	ldp	w23, w8, [x0]
	cmp	w8, #0
	csel	w21, w22, w8, eq
	bl	_rtw_hci_type
Lloh0:
	adrp	x8, _INTF_USB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTF_USB@GOTPAGEOFF]
Lloh2:
	adrp	x9, _INTF_SDIO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INTF_SDIO@GOTPAGEOFF]
Lloh4:
	adrp	x10, _INTF_PCIE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _INTF_PCIE@GOTPAGEOFF]
	cmp	w0, #129
	csel	x9, x9, x10, eq
	cmp	w0, #128
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	cmp	w19, #0
	csel	w9, w22, w19, eq
	stp	w21, w9, [x20, #8]
	mov	w9, #4
	stp	w9, w8, [x20, #16]
	stp	w23, wzr, [x20, #24]
Lloh6:
	adrp	x8, _RTW_DBG_PHY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTW_DBG_PHY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtw_dbg
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INTF_USB,4,2                   ; @INTF_USB
	.comm	_INTF_SDIO,4,2                  ; @INTF_SDIO
	.comm	_INTF_PCIE,4,2                  ; @INTF_PCIE
	.comm	_RTW_DBG_PHY,4,2                ; @RTW_DBG_PHY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"phy cond=0x%08x\n"

.subsections_via_symbols
