	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function histb_combphy_probe
_histb_combphy_probe:                   ## @histb_combphy_probe
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 52(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	52(%r14), %edi
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%r15), %edi
	callq	_syscon_node_to_regmap
	movl	%eax, 48(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movl	48(%r14), %edi
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_10:
	leaq	16(%r14), %r12
	movq	_PHY_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, %r13
	addq	$40, %r13
	movl	%eax, 40(%r14)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movl	(%r13), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_12:
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_of_property_read_u32_array
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_is_mode_fixed
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.15:
	testq	%rax, %rax
	jne	LBB0_18
## %bb.16:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_13:
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_17:
	movq	-80(%rbp), %rax
	movq	%rax, 32(%r14)
	movdqu	-72(%rbp), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqu	%xmm0, 16(%r14)
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_18:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movl	%eax, 8(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movl	8(%r14), %edi
	callq	_PTR_ERR
	jmp	LBB0_25
LBB0_20:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_devm_reset_control_get
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movl	4(%r14), %edi
	callq	_PTR_ERR
	jmp	LBB0_25
LBB0_22:
	movq	_histb_combphy_ops@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_devm_phy_create
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movl	(%r14), %edi
	callq	_PTR_ERR
	jmp	LBB0_25
LBB0_24:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movl	(%r14), %edi
	movq	%r14, %rsi
	callq	_phy_set_drvdata
	movq	_histb_combphy_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_devm_of_phy_provider_register
	movq	%rax, %rdi
	callq	_PTR_ERR_OR_ZERO
	jmp	LBB0_25
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to find peri_ctrl syscon regmap\n"

	.comm	_PHY_NONE,4,2                   ## @PHY_NONE
L_.str.1:                               ## @.str.1
	.asciz	"hisilicon,fixed-mode"

L_.str.2:                               ## @.str.2
	.asciz	"found fixed phy mode %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"hisilicon,mode-select-bits"

L_.str.4:                               ## @.str.4
	.asciz	"found select bits for fixed mode phy\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.5:                               ## @.str.5
	.asciz	"found mode select bits\n"

L_.str.6:                               ## @.str.6
	.asciz	"no valid select bits found for non-fixed phy\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.7:                               ## @.str.7
	.asciz	"failed to find ref clock\n"

L_.str.8:                               ## @.str.8
	.asciz	"failed to get poweron reset\n"

	.comm	_histb_combphy_ops,4,2          ## @histb_combphy_ops
L_.str.9:                               ## @.str.9
	.asciz	"failed to create combphy\n"

	.comm	_histb_combphy_xlate,4,2        ## @histb_combphy_xlate
	.no_dead_strip	_histb_combphy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function histb_combphy_probe
_histb_combphy_probe:                   ; @histb_combphy_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x21, [x0]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh6:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	w0, [x20, #52]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w0, [x20, #52]
	b	LBB0_9
LBB0_3:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	ldr	w0, [x21]
	bl	_syscon_node_to_regmap
	str	w0, [x20, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.8:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #48]
LBB0_9:
	ldr	x8, [sp, #40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PTR_ERR
LBB0_11:
Lloh19:
	adrp	x8, _PHY_NONE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PHY_NONE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	mov	x23, x20
	str	w8, [x23, #40]!
	sub	x22, x23, #24
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x23
	bl	_of_property_read_u32
	cbnz	w0, LBB0_13
; %bb.12:
	ldr	w8, [x23]
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_13:
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	mov	x3, x0
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #16
	mov	x0, x21
	bl	_of_property_read_u32_array
	mov	x21, x0
	mov	x0, x22
	bl	_is_mode_fixed
	cbz	w21, LBB0_16
; %bb.14:
	cbnz	x0, LBB0_19
; %bb.15:
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh30:
	adrp	x8, _ENODEV@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_4
LBB0_16:
	cbz	x0, LBB0_18
; %bb.17:
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh34:
	adrp	x8, _EINVAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_18:
	ldp	x8, x9, [sp, #16]
	stp	x9, x8, [x20, #24]
	ldr	x8, [sp, #32]
	str	x8, [x20, #16]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_19:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_21
; %bb.20:
Lloh38:
	adrp	x1, l_.str.7@PAGE
Lloh39:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
	b	LBB0_5
LBB0_21:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_reset_control_get
	str	w0, [x20, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_23
; %bb.22:
Lloh40:
	adrp	x1, l_.str.8@PAGE
Lloh41:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #4]
	bl	_PTR_ERR
	b	LBB0_5
LBB0_23:
Lloh42:
	adrp	x2, _histb_combphy_ops@GOTPAGE
Lloh43:
	ldr	x2, [x2, _histb_combphy_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	bl	_devm_phy_create
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_25
; %bb.24:
Lloh44:
	adrp	x1, l_.str.9@PAGE
Lloh45:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20]
	bl	_PTR_ERR
	b	LBB0_5
LBB0_25:
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	ldr	w0, [x20]
	mov	x1, x20
	bl	_phy_set_drvdata
Lloh46:
	adrp	x8, _histb_combphy_xlate@GOTPAGE
Lloh47:
	ldr	x8, [x8, _histb_combphy_xlate@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_devm_of_phy_provider_register
	bl	_PTR_ERR_OR_ZERO
	b	LBB0_5
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to find peri_ctrl syscon regmap\n"

	.comm	_PHY_NONE,4,2                   ; @PHY_NONE
l_.str.1:                               ; @.str.1
	.asciz	"hisilicon,fixed-mode"

l_.str.2:                               ; @.str.2
	.asciz	"found fixed phy mode %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"hisilicon,mode-select-bits"

l_.str.4:                               ; @.str.4
	.asciz	"found select bits for fixed mode phy\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.5:                               ; @.str.5
	.asciz	"found mode select bits\n"

l_.str.6:                               ; @.str.6
	.asciz	"no valid select bits found for non-fixed phy\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.7:                               ; @.str.7
	.asciz	"failed to find ref clock\n"

l_.str.8:                               ; @.str.8
	.asciz	"failed to get poweron reset\n"

	.comm	_histb_combphy_ops,4,2          ; @histb_combphy_ops
l_.str.9:                               ; @.str.9
	.asciz	"failed to create combphy\n"

	.comm	_histb_combphy_xlate,4,2        ; @histb_combphy_xlate
	.no_dead_strip	_histb_combphy_probe
.subsections_via_symbols
