	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ims_pcu_line_setup
_ims_pcu_line_setup:                    ## @ims_pcu_line_setup
	.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
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r13
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	$57600, %edi                    ## imm = 0xE100
	callq	_cpu_to_le32
	movl	%eax, 4(%rbx)
	movl	$8, (%rbx)
	movl	4(%r15), %r12d
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_usb_sndctrlpipe
	movq	_USB_CDC_REQ_SET_LINE_CODING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_USB_TYPE_CLASS@GOTPCREL(%rip), %rsi
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rsi), %ecx
	movl	(%r13), %r9d
	subq	$8, %rsp
	movl	%r12d, %edi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	pushq	$5000                           ## imm = 0x1388
	pushq	$8
	pushq	%rbx
	callq	_usb_control_msg
	addq	$32, %rsp
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	4(%r15), %ebx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_usb_sndctrlpipe
	movq	_USB_CDC_REQ_SET_CONTROL_LINE_STATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_USB_TYPE_CLASS@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	(%r13), %r9d
	subq	$8, %rsp
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$3, %r8d
	pushq	$5000                           ## imm = 0x1388
	pushq	$0
	pushq	$0
	callq	_usb_control_msg
	addq	$32, %rsp
	testl	%eax, %eax
	jns	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %ebx
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
LBB0_4:
	movl	%ebx, %edx
	callq	_dev_err
	movl	%ebx, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_CDC_REQ_SET_LINE_CODING,4,2 ## @USB_CDC_REQ_SET_LINE_CODING
	.comm	_USB_TYPE_CLASS,4,2             ## @USB_TYPE_CLASS
	.comm	_USB_RECIP_INTERFACE,4,2        ## @USB_RECIP_INTERFACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to set line coding, error: %d\n"

	.comm	_USB_CDC_REQ_SET_CONTROL_LINE_STATE,4,2 ## @USB_CDC_REQ_SET_CONTROL_LINE_STATE
L_.str.1:                               ## @.str.1
	.asciz	"Failed to set line state, error: %d\n"

	.no_dead_strip	_ims_pcu_line_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ims_pcu_line_setup
_ims_pcu_line_setup:                    ; @ims_pcu_line_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldp	x20, x8, [x0, #8]
	ldr	x22, [x8]
	mov	w21, #8
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	w0, #57600
	bl	_cpu_to_le32
	stp	w21, w0, [x20]
	ldr	w21, [x19, #4]
	mov	x0, x21
	mov	w1, #0
	bl	_usb_sndctrlpipe
	mov	x1, x0
Lloh0:
	adrp	x8, _USB_CDC_REQ_SET_LINE_CODING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_CDC_REQ_SET_LINE_CODING@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x23, _USB_TYPE_CLASS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _USB_TYPE_CLASS@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh5:
	adrp	x24, _USB_RECIP_INTERFACE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _USB_RECIP_INTERFACE@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w3, w9, w8
	ldr	w5, [x22]
	mov	w25, #5000
	str	w25, [sp]
	mov	x0, x21
	mov	w4, #0
	mov	x6, x20
	mov	w7, #8
	bl	_usb_control_msg
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	w20, [x19, #4]
	mov	x0, x20
	mov	w1, #0
	bl	_usb_sndctrlpipe
	mov	x1, x0
Lloh7:
	adrp	x8, _USB_CDC_REQ_SET_CONTROL_LINE_STATE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _USB_CDC_REQ_SET_CONTROL_LINE_STATE@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w3, w9, w8
	ldr	w5, [x22]
	str	w25, [sp]
	mov	x0, x20
	mov	w4, #3
	mov	x6, #0
	mov	w7, #0
	bl	_usb_control_msg
	mov	w20, #0
	tbz	w0, #31, LBB0_4
; %bb.2:
	mov	x21, x0
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_dev_err
	mov	x20, x21
	b	LBB0_4
LBB0_3:
	mov	x20, x0
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_CDC_REQ_SET_LINE_CODING,4,2 ; @USB_CDC_REQ_SET_LINE_CODING
	.comm	_USB_TYPE_CLASS,4,2             ; @USB_TYPE_CLASS
	.comm	_USB_RECIP_INTERFACE,4,2        ; @USB_RECIP_INTERFACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to set line coding, error: %d\n"

	.comm	_USB_CDC_REQ_SET_CONTROL_LINE_STATE,4,2 ; @USB_CDC_REQ_SET_CONTROL_LINE_STATE
l_.str.1:                               ; @.str.1
	.asciz	"Failed to set line state, error: %d\n"

	.no_dead_strip	_ims_pcu_line_setup
.subsections_via_symbols
