	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b53_disable_port               ## -- Begin function b53_disable_port
	.p2align	4, 0x90
_b53_disable_port:                      ## @b53_disable_port
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	(%rdi), %rbx
	movq	_B53_CTRL_PAGE@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movl	%esi, %edi
	callq	_B53_PORT_CTRL
	leaq	-36(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_b53_read8
	movq	_PORT_CTRL_RX_DISABLE@GOTPCREL(%rip), %rax
	movq	_PORT_CTRL_TX_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, -36(%rbp)
	movl	(%r12), %r15d
	movl	%r14d, %edi
	callq	_B53_PORT_CTRL
	movl	-36(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_b53_write8
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	*%rax
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B53_CTRL_PAGE,4,2              ## @B53_CTRL_PAGE
	.comm	_PORT_CTRL_RX_DISABLE,4,2       ## @PORT_CTRL_RX_DISABLE
	.comm	_PORT_CTRL_TX_DISABLE,4,2       ## @PORT_CTRL_TX_DISABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b53_disable_port               ; -- Begin function b53_disable_port
	.p2align	2
_b53_disable_port:                      ; @b53_disable_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x22, _B53_CTRL_PAGE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _B53_CTRL_PAGE@GOTPAGEOFF]
	ldr	w21, [x22]
	mov	x0, x1
	bl	_B53_PORT_CTRL
	mov	x2, x0
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_b53_read8
Lloh2:
	adrp	x8, _PORT_CTRL_RX_DISABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORT_CTRL_RX_DISABLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _PORT_CTRL_TX_DISABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PORT_CTRL_TX_DISABLE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #12]
	orr	w8, w8, w9
	str	w8, [sp, #12]
	ldr	w21, [x22]
	mov	x0, x19
	bl	_B53_PORT_CTRL
	mov	x2, x0
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_b53_write8
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_2:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B53_CTRL_PAGE,4,2              ; @B53_CTRL_PAGE
	.comm	_PORT_CTRL_RX_DISABLE,4,2       ; @PORT_CTRL_RX_DISABLE
	.comm	_PORT_CTRL_TX_DISABLE,4,2       ; @PORT_CTRL_TX_DISABLE
.subsections_via_symbols
