	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ph_disconnect
_ph_disconnect:                         ## @ph_disconnect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$8, %edi
	callq	_DBG
	leaq	4(%rbx), %rdi
	movq	_L1_MODE_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_st5481_in_mode
	movq	_GREEN_LED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	(%rbx), %edx
	movl	%edx, (%rbx)
	movq	_GPIO_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_st5481_usb_device_ctrl_msg     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_L1_MODE_NULL,4,2               ## @L1_MODE_NULL
	.comm	_GREEN_LED,4,2                  ## @GREEN_LED
	.comm	_GPIO_OUT,4,2                   ## @GPIO_OUT
	.no_dead_strip	_ph_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ph_disconnect
_ph_disconnect:                         ; @ph_disconnect
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #8
	bl	_DBG
	add	x0, x19, #4
Lloh2:
	adrp	x8, _L1_MODE_NULL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _L1_MODE_NULL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_st5481_in_mode
Lloh5:
	adrp	x8, _GREEN_LED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GREEN_LED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w2, w9, w8
	str	w2, [x19]
Lloh8:
	adrp	x8, _GPIO_OUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GPIO_OUT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x3, #0
	mov	x4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_st5481_usb_device_ctrl_msg
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_L1_MODE_NULL,4,2               ; @L1_MODE_NULL
	.comm	_GREEN_LED,4,2                  ; @GREEN_LED
	.comm	_GPIO_OUT,4,2                   ; @GPIO_OUT
	.no_dead_strip	_ph_disconnect
.subsections_via_symbols
