	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_mdm6600_init_lines
_phy_mdm6600_init_lines:                ## @phy_mdm6600_init_lines
	.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	32(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_phy_mdm6600_ctrl_gpio_map@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %r14
	movq	%r15, %r13
	movq	24(%r15), %r15
	movl	(%r14,%rbx,8), %esi
	movl	4(%r14,%rbx,8), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_devm_gpiod_get
	movq	%rax, (%r15,%rbx,8)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	movq	%r13, %r15
	jl	LBB0_2
LBB0_6:
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_devm_gpiod_get_array
	movq	%rax, 16(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%r15), %rdi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:
	movq	(%rdi), %rax
	movq	_PHY_MDM6600_NR_MODE_LINES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.8:
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_gpiod_get_array
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	8(%r15), %rdi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.9:
	movq	(%rdi), %rax
	movq	_PHY_MDM6600_NR_STATUS_LINES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movl	(%r14), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_gpiod_get_array
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	(%r15), %rdi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.11:
	movq	(%rdi), %rcx
	movq	_PHY_MDM6600_NR_CMD_LINES@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_13
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r14,%rbx,8), %r14d
	movq	(%r15,%rbx,8), %rdi
	callq	_PTR_ERR
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_dev_info
	movq	(%r15,%rbx,8), %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_phy_mdm6600_ctrl_gpio_map,8,3  ## @phy_mdm6600_ctrl_gpio_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gpio %s error %li\n"

L_.str.1:                               ## @.str.1
	.asciz	"motorola,mode"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
	.comm	_PHY_MDM6600_NR_MODE_LINES,8,3  ## @PHY_MDM6600_NR_MODE_LINES
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"motorola,status"

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
	.comm	_PHY_MDM6600_NR_STATUS_LINES,8,3 ## @PHY_MDM6600_NR_STATUS_LINES
L_.str.3:                               ## @.str.3
	.asciz	"motorola,cmd"

	.comm	_PHY_MDM6600_NR_CMD_LINES,8,3   ## @PHY_MDM6600_NR_CMD_LINES
	.no_dead_strip	_phy_mdm6600_init_lines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_mdm6600_init_lines
_phy_mdm6600_init_lines:                ; @phy_mdm6600_init_lines
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x20, [x0, #32]
Lloh0:
	adrp	x22, _phy_mdm6600_ctrl_gpio_map@GOTPAGE
Lloh1:
	ldr	x22, [x22, _phy_mdm6600_ctrl_gpio_map@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x22]
	ldr	x24, [x19, #24]
	add	x8, x25, x21
	ldp	w1, w2, [x8]
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x24, x21]
	bl	_IS_ERR
	cbnz	x0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	add	x21, x21, #8
	cmp	x23, w0, sxtw
	b.lt	LBB0_2
LBB0_4:
Lloh2:
	adrp	x21, _GPIOD_OUT_LOW@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GPIOD_OUT_LOW@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get_array
	str	x0, [x19, #16]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19, #16]
	cbnz	x8, LBB0_12
; %bb.5:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _PHY_MDM6600_NR_MODE_LINES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PHY_MDM6600_NR_MODE_LINES@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.6:
Lloh9:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get_array
	str	x0, [x19, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19, #8]
	cbnz	x8, LBB0_12
; %bb.7:
	ldr	x8, [x0]
Lloh14:
	adrp	x9, _PHY_MDM6600_NR_STATUS_LINES@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PHY_MDM6600_NR_STATUS_LINES@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.8:
	ldr	w2, [x21]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get_array
	str	x0, [x19]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19]
	cbnz	x8, LBB0_12
; %bb.9:
	ldr	x8, [x0]
Lloh19:
	adrp	x9, _PHY_MDM6600_NR_CMD_LINES@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PHY_MDM6600_NR_CMD_LINES@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.10:
	mov	w0, #0
	b	LBB0_14
LBB0_11:
	ldr	w19, [x25, x21]
	ldr	x0, [x24, x21]
	bl	_PTR_ERR
	mov	x3, x0
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_dev_info
	ldr	x0, [x24, x21]
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_13:
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_phy_mdm6600_ctrl_gpio_map,8,3  ; @phy_mdm6600_ctrl_gpio_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gpio %s error %li\n"

l_.str.1:                               ; @.str.1
	.asciz	"motorola,mode"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
	.comm	_PHY_MDM6600_NR_MODE_LINES,8,3  ; @PHY_MDM6600_NR_MODE_LINES
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"motorola,status"

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
	.comm	_PHY_MDM6600_NR_STATUS_LINES,8,3 ; @PHY_MDM6600_NR_STATUS_LINES
l_.str.3:                               ; @.str.3
	.asciz	"motorola,cmd"

	.comm	_PHY_MDM6600_NR_CMD_LINES,8,3   ; @PHY_MDM6600_NR_CMD_LINES
	.no_dead_strip	_phy_mdm6600_init_lines
.subsections_via_symbols
